home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / mint / utilit~1 / initbin.zoo / init-bin / etc / login.csh < prev    next >
Encoding:
Linux/UNIX/POSIX Shell Script  |  1992-11-03  |  373 b   |  23 lines

  1. #!/bin/tcsh
  2. # csh .login
  3. #
  4. # Files you make look like rw-r--r--
  5. umask 022
  6.  
  7. set defterm="vt100"
  8.  
  9. if (! ${?term}) set term=dumb
  10.  
  11. if ($term == "dumb") then
  12.    if ($TTY != "console") then
  13.       echo -n "TERM = ("$defterm") "
  14.       set term=$<
  15.       if ( $term =~ "" ) set term=$defterm
  16.       setenv TERM $term
  17.    else
  18.       set term=st52
  19.    endif
  20. else
  21.    echo term=$term
  22. endif
  23.